package com.tag;

import java.io.IOException;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.tagext.TagSupport;

public class ClassicOne extends TagSupport{

	public int doTag() throws JspException, IOException{
	JspWriter out = pageContext.getOut();
	
	try{
		out.println("classic tag output");
	}catch(IOException ex){
		throw new JspException("IOException-" +ex.toString());
	
	}
	return SKIP_BODY;
	}

}
